<template>
  <el-table :data="data" v-bind="$attrs">
    <slot></slot>
  </el-table>
</template>

<script>
import { defineComponent } from 'vue';

export default defineComponent({
  props: {
    data: {
      type: Array,
      required: true,
    },
  },
});
</script>